package com.sxx.mall.member.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.sxx.commons.utils.PageUtils;
import com.sxx.mall.member.entity.MemberEntity;
import com.sxx.mall.member.vo.MemberLoginVO;
import com.sxx.mall.member.vo.MemberRegisterVO;
import com.sxx.mall.member.vo.SocialUser;

import java.util.Map;

/**
 * 会员
 *
 * @author sxx
 * @email 1289139305@qq.com
 * @date 2024-07-10 15:50:52
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberRegisterVO vo);

    MemberEntity login(MemberLoginVO vo);

    /*
    * 社交登录
    * */
    MemberEntity login(SocialUser vo);
}

